package com.atguigu03_extends.ex2;

public class Circle {
    private  double r;//半径

    public Circle() {
        this.r = 1;
    }

    public double getR() {
        return r;
    }

    public void setR(double r) {
        this.r = r;
    }

    public  double findArea(){
        return r*r*Math.PI;
    }
}
